package config;

import org.springframework.context.annotation.*;
import org.springframework.transaction.annotation.EnableTransactionManagement;
@Configuration
@ComponentScan("cn.zcy")
@Import(JdbcConfig.class)
@PropertySource(value = "classpath:jdbc.properties")
@EnableTransactionManagement
@EnableAspectJAutoProxy(exposeProxy = true)  //事务注释掉动态代理也能用,只是不能暴露当前代理到线程中
public class SpringConfiguration {
}
